package com.qidian.mes.log.config;

import com.qidian.mes.log.aop.LogAspect;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServlet;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @Time 2023/10/26 10:29
 * @Description
 */
@AutoConfiguration
public class OptionLogAutoConfiguration {
    @Bean
    public LogAspect logAspect(){
        return new LogAspect();
    }
}
